﻿<phone:PhoneApplicationPage 
    x:Class="NearChat.CreateAccount"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True" >

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot">
    	<Grid.Background>
    		<ImageBrush Stretch="UniformToFill" ImageSource="img/bg.jpg"/>
    	</Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28"/>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Button Content="Create" Margin="0,609,0,0" Name="buttonCrea" VerticalAlignment="Top" Tap="buttonCrea_Tap" Foreground="#FF1F3D3C" BorderBrush="#FF1F3D3C" HorizontalAlignment="Center" Width="150" />
            
            
            <TextBlock Height="30" HorizontalAlignment="Center" Name="textBlock1" Text="Please not use special chars" VerticalAlignment="Top" TextAlignment="Center" Foreground="#FF1F3D3C" />
            <TextBlock Height="30" Margin="0,53,0,0" Name="textBlock2" Text="Username:" VerticalAlignment="Top" TextAlignment="Center" Foreground="#FF1F3D3C" HorizontalAlignment="Center" />
            <TextBox Height="69" Margin="0,75,0,0" Name="userBox" Text="" VerticalAlignment="Top" Tap="userBox_Tap" MaxLength="18" Background="#CC1F3D3C" SelectionForeground="#FF1F3D3C" Foreground="Black" Width="300" HorizontalAlignment="Center" />
            <TextBlock Height="30" Margin="0,146,0,0" Name="textBlock3" Text="Password:" VerticalAlignment="Top" TextAlignment="Center" Foreground="#FF1F3D3C" HorizontalAlignment="Center" />
            <PasswordBox Height="69" Margin="0,167,0,0" Name="psw1Box" VerticalAlignment="Top" MaxLength="18" Background="#CC1F3D3C" SelectionForeground="#FF1F3D3C" Foreground="Black" Width="300" HorizontalAlignment="Center" />
            <TextBlock Height="30" Margin="0,238,0,0" Name="textBlock4" Text="Password:" VerticalAlignment="Top" TextAlignment="Center" Foreground="#FF1F3D3C" HorizontalAlignment="Center" />
            <PasswordBox Height="68" Margin="0,260,0,0" Name="psw2Box" VerticalAlignment="Top" MaxLength="18" Background="#CC1F3D3C" SelectionForeground="#FF1F3D3C" Foreground="Black" Width="300" HorizontalAlignment="Center" />
            <TextBlock Height="30" Margin="0,330,0,0" Name="textBlock5" Text="Mail:" VerticalAlignment="Top" TextAlignment="Center" Foreground="#FF1F3D3C" HorizontalAlignment="Center" />
            <TextBox Margin="0,352,0,303" Name="mailBox" Text="" InputScope="EmailSmtpAddress"  Background="#CC1F3D3C" SelectionForeground="#FF1F3D3C" Foreground="Black" HorizontalAlignment="Center" Width="300" />
            <TextBlock Height="30" Margin="0,518,0,0" x:Name="textBlock6" VerticalAlignment="Top" TextAlignment="Center" Foreground="#FF1F3D3C" HorizontalAlignment="Center" ><Run Text="Gender"/><Run Text=":"/></TextBlock>
            <TextBlock Height="30" Margin="0,421,0,0" x:Name="textBlock7" VerticalAlignment="Top" TextAlignment="Center" Foreground="#FF1F3D3C" HorizontalAlignment="Center" ><Run Text="Date of Birth"/><Run Text=":"/></TextBlock>
            <TextBox Height="69" HorizontalAlignment="Center" Margin="0,443,0,0" Name="NascitaBox" Text="mm.dd.yyyy" VerticalAlignment="Top" Width="299" Tap="NascitaBox_Tap" MaxLength="10" Foreground="Black" Background="#CC1F3D3C" SelectionForeground="#FF1F3D3C" />
            <RadioButton Content="M" Height="93" Margin="121,0,0,104" VerticalAlignment="Bottom" GroupName="Sesso" Name="RadioM" Checked="RadioM_Checked" HorizontalAlignment="Left" Width="93" Background="#CC1F3D3C" Foreground="#FF1F3D3C"  />
            <RadioButton Content="F" HorizontalAlignment="Right" Height="93" Margin="0,0,121,104" VerticalAlignment="Bottom" Width="95" GroupName="Sesso" Name="RadioF" Checked="RadioF_Checked" Background="#CC1F3D3C" Foreground="#FF1F3D3C"  />
        </Grid>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
